<div ms-controller="myRegister" class="white myVideos" id="myRegister">
    <div class="container">
        <ul ms-if="logon!=''" class="mylogon">
            <li><span>{{nickname}}</span></li>
            <li><a class="logout" ms-click="logout()">退出登录</a></li>
            <li>|<a href="#!/myRegister" class="registerrecord">我的登记</a></li>
        </ul>
    </div>
    <div class="searchOpts of-h" style="">
            <div class="header" style="text-align: center;padding-bottom: 20px;border-bottom: 1px solid #ddd;margin-bottom: 20px;padding-top:10px;">
                <h4>我的录制登记</h4>
            </div>
        <div class=" searchInput" ms-if="logon!=''" style="text-align: center;">
            
            <input type="text" placeholder="输入课室或标题" ms-duplex="searchkey"></input>
            <input type="text" placeholder="开始时间" class="dateui" ms-duplex="startTime"></input>至
            <input type="text" placeholder="结束时间" class="dateui" ms-duplex="endTime" name="endTime"></input>
            <button ms-click="searchVideos()" class="btn">搜索</button>
        </div>
    </div>
    <div class="table" ms-if="showTable&&recordVideoList.length!=0">
        <table id="" class="table-striped table-bordered" width="100%" style="">
            <thead>
                <tr>
                    <th>
                        课室
                    </th>
                    <th>
                        标题
                    </th>
                    <th>
                        主讲人
                    </th>
                    <th>
                        年级
                    </th>
                    <th>
                        学科
                    </th>
                    <th>
                        直播时间
                    </th>
                    <th style="text-align: center">
                        操作
                    </th>
                </tr>
            </thead>
            <tbody>
                <tr ms-repeat-tr="recordVideoList">
                    <td>
                        <a ms-href="'#!/onlines/'+tr.recordEquipmentId" style="color:#33aeff">{{tr.recordEquipmentName}}</a>
                    </td>
                    <td>{{tr.title}}</td>
                    <td>{{tr.speaker}}</td>
                    <td>{{tr.gradeName}}</td>
                    <td>{{tr.categoryName}}</td>
                    <td>{{tr.startTimeTip}}&nbsp;至&nbsp;{{tr.endTimeTip}}</td>
                    <td class="text-center">
                        <span>
                            <button ms-click="delRec(tr.id)" class="btn btn-danger">删除</button>
                        </span>
                    </td>
                </tr>
            </tbody>
        </table>
        <div ms-widget="pager,registerPager,pager" ms-if="pager.pageCount != 1" class="pull-right"></div>
    </div>
   
    <div ms-if="showTable&&recordVideoList.length==0" class="table">
        <div class="text-center" style="padding-top: 20px;border-top: 1px solid #eee;">
            {{defaultAlert}}
        </div>
    </div>
    
</div>
